#include "stdio.h"
#include "math.h"
int main()
{
    int b;
    double a,*c,ans;
    c=&ans;
    scanf("%lf %d",&a,&b);
    void my_power(double ,int ,double *);
     my_power(a,b,c);
    printf("%lf",ans);
}
void my_power(double x,int y,double *p)
{
    *p=pow(x,y);
}